Skip to content

Changed PackageIDs and AssemblyName for Nuget publish#5

Merged
Sfurti-yb merged 2 commits into
8.0.3-yb-1from
packagename-change
Jul 12, 2024
Merged

Changed PackageIDs and AssemblyName for Nuget publish#5
Sfurti-yb merged 2 commits into
8.0.3-yb-1from
packagename-change

Conversation

@Sfurti-yb
Copy link
Copy Markdown
Collaborator

@Sfurti-yb Sfurti-yb commented Jul 12, 2024

Changed package names and assembly names for the following extensions:

  • Npgsql.NodaTime
  • Npgsql.NetTopologySuite
  • Npgsql.Dependency Injection
    These packages need to be published separately on Nuget for EntityFramework Support with the smart driver.

Entity framework has its own Nodatime and NetTopologySuite extension, and they create a namespace conflict with the upstream Npgsql.NodaTime and Npgsql.NetTopologySuite. Hence we need to publish our own packages

Comment thread Directory.Packages.props
<PackageVersion Include="System.Threading.Channels" Version="$(SystemVersion)" />
<PackageVersion Include="System.Collections.Immutable" Version="$(SystemVersion)" />
<PackageVersion Include="System.Text.Json" Version="$(SystemVersion)" />
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is SystemVersion? Why do we need to instead hardcord?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SystemVersion is also hardcoded to 8.0.0 in the file. There was an update 3 days ago to System.Text.Json package which marked that version as high vulnerability, so the build was failing until I changed it to the patched version.

Copy link
Copy Markdown

@kneeraj kneeraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 minor clarification.

@Sfurti-yb Sfurti-yb merged commit ccb69d9 into 8.0.3-yb-1 Jul 12, 2024
Sfurti-yb added a commit that referenced this pull request Feb 26, 2025
* Changed PackageIDs and AssemblyName for Nuget publish
Sfurti-yb added a commit that referenced this pull request Sep 25, 2025
* Upgrading the version from 8.0.0 to 8.0.3 (#4)

* First draft for the smart feature

* TopologyAwareDataSource Code

* Adding Refresh Interval + Changes in Fallback toology

* Fallback tests + minor improvements

* Review comments + Multiple host in URL

* Minor changes to refresh

* Review comments

* Improved the tests + updated the README

* MultiThreading bug fix

* Review Comments

* Fallback Test cases + fallback topology fix

* Change namespace from Npgsql to YBNpgsql

* Changing the version + Assembly name

* Renaming namespace in new files

* Renaming namespace in few more files

* Preparing for release

* Fix for the fallback issue

* Resolved some build issues

* Added the flags for supression of sqls

* Change support of Unlisten and Advisory Locks to false

* Changed the method for retrieving of allowed placement values

* Removed local package source from Nuget.config + Added the new connection properties to Readme

---------

Co-authored-by: Sfurti Sarah <ssarah@Aadhas-MacBook-Pro.local>
Co-authored-by: Amogh Shetkar <ashetkar@yugabyte.com>

* Added More Log statements

* Changed PackageIDs and AssemblyName for Nuget publish (#5)

* Changed PackageIDs and AssemblyName for Nuget publish

* Updated the README files

* Support for connection load balancing across read-replica cluster nodes (#6)

* Initial changes to ClusterAwareLoadBalancer for RR support

* Initial changes for RR support

* Test cleanup

* Addressed the review comments

* Modified tests to include client side verification + Check if connections are closed properly

* Make GetLoad static

* Changes as per review comments

* Refactored the tests to add method call in place of code repititions

* Format the new code

* Updated some tests to include higher timeout and updated method signature for hasbetternodeavailable method

* Updating version number and Readme for release

* Resolve build issues

* Added fix for NoHostSuitableException in case of External Load Balancer + Fix for better node availability

* Updated the test file

* Updated the driver version

---------

Co-authored-by: Sfurti Sarah <ssarah@Aadhas-MacBook-Pro.local>
Co-authored-by: Amogh Shetkar <ashetkar@yugabyte.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants